Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-43388: [Python] Give precedence to pycapsule interface in pa.schema(..) #43486

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Jul 30, 2024

Rationale for this change

When converting an object to a pyarrow.Schema with pa.schema(..), first check the capsule interface before checking for mappings. This allows other schema-like objects that expose the capsule interface to also be mappings.

Are these changes tested?

Yes

@jorisvandenbossche jorisvandenbossche merged commit b852b72 into apache:main Aug 7, 2024
13 checks passed
@jorisvandenbossche jorisvandenbossche removed the awaiting committer review Awaiting committer review label Aug 7, 2024
@jorisvandenbossche jorisvandenbossche deleted the gh-43388 branch August 7, 2024 07:20
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit b852b72.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants